package com.fahai.common;

/**
 * @Description
 * @Author heshichao
 * @Time 下午6:02
 * @Version 1.0
 * 自定义继承运行时异常封装类
 */
public class CustomException extends RuntimeException {

    private String code;
    private String msg;

    public CustomException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
